package com.yuanqi.Controller;



import com.yuanqi.Common.Pojo.Dto.SupportDto;
import com.yuanqi.Return.Result;
import com.yuanqi.Service.SupportService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (Support)表控制层
 *
 * @author makejava
 * @since 2024-10-27 21:41:35
 */
@RestController
@RequestMapping("/v1/support")
public class SupportController {

    @Resource
    private SupportService supportService;
    @PostMapping
    public Result support(@RequestBody SupportDto supportDto)
    {
       supportService.support(supportDto);
        return Result.success();
    }
}

